package cn.com.nes.site.module.service.inventory;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import cn.com.nes.site.entity.DataReq;
import cn.com.nes.site.entity.PageData;
import cn.com.nes.site.module.dao.inventory.PurchaseDaoImpl;

@Service
public class PurchaseService {

    @Resource
    private PurchaseDaoImpl impl;

    public PageData generatePurchaseId(DataReq req) {
        return impl.generatePurchaseId(req);
    }

    public PageData getPurchaseList(DataReq req) {
        return impl.getPurchaseList(req);
    }

    public PageData getPurchaseDetail(DataReq req) {
        return impl.getPurchaseDetail(req);
    }

    public PageData savePurchaseInfo(DataReq req) {
        return impl.savePurchaseInfo(req);
    }

    public PageData delPurchase(DataReq req) {
        return impl.delPurchase(req);
    }

    public PageData delPurchaseGoods(DataReq req) {
        return impl.delPurchaseGoods(req);
    }

    public PageData savePurchaseReviewerInfo(DataReq req) {
        return impl.savePurchaseReviewerInfo(req);
    }

    public PageData applyReviewerPurchaseInfo(DataReq req) {
        return impl.applyReviewerPurchaseInfo(req);
    }

    public PageData updatePurchaseInfo(DataReq req) {
        return impl.updatePurchaseInfo(req);
    }

    public PageData getCompanyPurchaseList(DataReq req) {
        return impl.getCompanyPurchaseList(req);
    }

    public PageData getCompanyPurchaseDetail(DataReq req) {
        return impl.getCompanyPurchaseDetail(req);
    }

    public PageData saveCompanyPurchaseDeal(DataReq req) {
        return impl.saveCompanyPurchaseDeal(req);
    }

    public PageData updatePurchaseState(DataReq req) {
        return impl.updatePurchaseState(req);
    }

}
